package top.infopub.mgr.bpa.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import top.infopub.generic.GenericDao;
import top.infopub.model.bpa.SubpackCotRate;

/** 分包合同对应月度付款比例(BPA_SUBPACK_COT_RATE) **/
public interface SubpackCotRateDao extends GenericDao<SubpackCotRate, String> {

    /**
     * 批量添加分包合同对应月度付款比例
     */
    void insertByBatch(@Param("list")List<SubpackCotRate> subpackCotRates);
    
    /**
     * 根据分包合同id带出分包合同对应月度付款比例
     */
    List<SubpackCotRate> selectBySubpackCotId(@Param("subpackCotId")String subpackCotId);
	
}